package org.springblade.modules.digitalization.utils;

import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener;

import java.util.ArrayList;
import java.util.List;

public class CommonDataListener<T> extends AnalysisEventListener<T> {
	private List<T> upLoads=new ArrayList<>();



	public List<T> getData(){
		return upLoads;
	}
	@Override
	public void invoke(T a01ArchiveEntity, AnalysisContext analysisContext) {
		upLoads.add(a01ArchiveEntity);
	}

	@Override
	public void doAfterAllAnalysed(AnalysisContext analysisContext) {

	}
}
